package com.zzu.model.bean;


import java.io.Serializable;

//包裹信息实体类
public class PackageItem implements Serializable {

    private String id;

    private String sourceNode;

    private String targetNode;

    private String updateTime;

    /**
     * 包裹的状态
     * 0：待揽收
     * 1：已揽收
     * 2：已发货
     * 3：运输中
     * 4：派送中
     * 5：已签收
     */
    private Integer status;

    private String sender;

    private String receiver;

    private String senderTel;

    private String receiverTel;

    private Long handler;

    private Long userId;

    private Long transNodeId;

    private String senderAddr;

    private String receiverAddr;

    private Float x;

    private Float y;

    //当前运输的地址，默认为河南省郑州市中原区
    private String nowAddress="河南省郑州市中原区";

    public String getNowAddress() {
        return nowAddress;
    }

    public void setNowAddress(String nowAddress) {
        this.nowAddress = nowAddress;
    }




    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSourceNode() {
        return sourceNode;
    }

    public void setSourceNode(String sourceNode) {
        this.sourceNode = sourceNode;
    }

    public String getTargetNode() {
        return targetNode;
    }

    public void setTargetNode(String targetNode) {
        this.targetNode = targetNode;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getSenderTel() {
        return senderTel;
    }

    public void setSenderTel(String senderTel) {
        this.senderTel = senderTel;
    }

    public String getReceiverTel() {
        return receiverTel;
    }

    public void setReceiverTel(String receiverTel) {
        this.receiverTel = receiverTel;
    }

    public Long getHandler() {
        return handler;
    }

    public void setHandler(Long handler) {
        this.handler = handler;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getTransNodeId() {
        return transNodeId;
    }

    public void setTransNodeId(Long transNodeId) {
        this.transNodeId = transNodeId;
    }

    public String getSenderAddr() {
        return senderAddr;
    }

    public void setSenderAddr(String senderAddr) {
        this.senderAddr = senderAddr;
    }

    public String getReceiverAddr() {
        return receiverAddr;
    }

    public void setReceiverAddr(String receiverAddr) {
        this.receiverAddr = receiverAddr;
    }

    public Float getX() {
        return x;
    }

    public void setX(Float x) {
        this.x = x;
    }

    public Float getY() {
        return y;
    }

    public void setY(Float y) {
        this.y = y;
    }

    @Override
    public String toString() {
        return "PackageItem{" +
                "id='" + id + '\'' +
                ", sourceNode='" + sourceNode + '\'' +
                ", targetNode='" + targetNode + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", status=" + status +
                ", sender='" + sender + '\'' +
                ", receiver='" + receiver + '\'' +
                ", senderTel='" + senderTel + '\'' +
                ", receiverTel='" + receiverTel + '\'' +
                ", handler=" + handler +
                ", userId=" + userId +
                ", transNodeId=" + transNodeId +
                ", senderAddr='" + senderAddr + '\'' +
                ", receiverAddr='" + receiverAddr + '\'' +
                ", x=" + x +
                ", y=" + y +
                ", nowAddress='" + nowAddress + '\'' +
                '}';
    }
}
